// 导入二次封装axios
import koi from "@/utils/axios.ts";


export const listPage = (params: any) => koi.get("/admin/pms/goods/list", params);
// 根据ID进行查询
export const read = (id: any) => koi.get("/admin/pms/goods/read", { id });
// 根据ID进行修改
export const update = (data: any) => koi.post("/admin/pms/goods/update", data);
// 添加
export const add = (data: any) => koi.post("/admin/pms/goods/add", data);
